/* 游戏设置中所有相关接口请求方法 */
import request from '@/utils/request';

/* 红包雨获取初始化数据 */
/* 红包雨 红包明细 */
export function getHbyLotteryList(params) {
  return request.post('/redBaoController/hbyLotteryList', params);
}
/* 红包雨提现 */
/* 活动信息 --账户余额 */
export function getActivityMsg(params) {
  return request.post('/sheZhi/findInfo', {
    splid: params.id,
  });
}
/* 红包雨请求二维码图片 */
export function getHbyErweima(params) {
  return request.post('/redBaoController/chongzhi', params);
}
/* 摇一摇获取初始化数据 */
export function getSwingData(params) {
  return request.get('/youXiSheZhi/juTiMsg', params);
}
/* 设置摇一摇数据 */
export function setSwingData(params) {
  return request.post('/youXiSheZhi/yXSheZhi', params);
}
/* 设置数钞票数据 */
export function setCountMoney(params) {
  return request.post('/youXiSheZhi/yXSheZhi', params);
}
/* 数钞票获取初始化数据 */
export function getCountMoneyData(params) {
  return request.get('/youXiSheZhi/juTiMsg', params);
}
/* 获取摇一摇,数钞票用户分数明细 */
export function getSwingInfoList(params) {
  return request.post('/youXiSheZhi/fenShuList', params);
}
/* 自定义奖项列表数据 */
export function getCustomAwardList(params) {
  return request.post('/ziDingYiGift/giftList', params);
}
/* 新增奖项 */
export function addCustomAward(params) {
  return request.post('/ziDingYiGift/add', params);
}
/* 修改或删除奖项 */
export function editOrDeleteCustomAward(params) {
  return request.post('/ziDingYiGift/update', params);
}
/* 签到用户(活动数据中) */
export function getSignUser(params) {
  return request.post('/zhongJiang/qianDaoLieBiao', params);
}
/* 名单 签到抽奖列表 */
export function neidingLotteryList(params) {
  return request.post('/neiDing/liebiao', params);
}
/* 内定中奖设置 添加 */
export function lotteryListSetting(params) {
  return request.post('/neiDing/add', params);
}
/* 内定中奖删除和修改 */
export function lotteryDelateOrEdit(params) {
  return request.post('/neiDing/update', params);
}
/* 猜明星列表 */
export function guessStarList(params) {
  return request.post('/caiStar/list', params);
}
/* 猜明星增加 */
export function guessStarAdd(params) {
  return request.post('/caiStar/save', params);
}
/* 猜明星编辑 */
export function guessStarEdit(params) {
  return request.post('/caiStar/update', params);
}
/* 猜明星删除 */
export function guessStarDelete(params) {
  return request.post('/caiStar/delete', params);
}
/* 红包雨平均红包设置 */
export function averageHb(params) {
  return request.post('/redBaoController/pingJunKey', params);
}
/* 红包雨难度设置 */
export function hardHb(params) {
  return request.post('/redBaoController/robTimeKey', params);
}
// 红包雨扣点比例设置
export function updateHbRate(params) {
  return request.post('/sheZhi/updateHbyKdRate', params);
}

/* 获取歌手微信绑定二维码 */
export function getSingerBindWxQrCode(params) {
  return request.get('/host/bindSingerWx', { params });
}

/* 取消歌手微信绑定 */
export function cancelSingerBindWx(params) {
  return request.get('/host/canBindSingerWx', { params });
}
